package snakesladers.view;

import minidraw.boardgame.Command;
import snakesladders.domain.Game;

public class DieRollCommand implements Command {

	private Game game;

	public DieRollCommand (Game game) {
		this.game = game;
	}

	@Override
	public boolean execute() {
		game.rollDie();
		return true;
	}

	@Override
	public void setFromCoordinates(int fromX, int fromY) {}

	@Override
	public void setToCoordinates(int toX, int toY) {}
}
